﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RMM.Core.Entity.Cates
{
    [Table("RMM_Categories")]
    public class Categories : Entity<int>, ICreationAudited, IModificationAudited
    {
        public string Name { get; set; }

        /// <summary>
        /// 默认排序
        /// </summary>
        public int DisplaySequence { get; set; }

        public string IconUrl { get; set; }

        public string Meta_Title { get; set; }

        public string Meta_Description { get; set; }

        /// <summary>
        /// 搜索关键字
        /// </summary>
        public string Meta_Keywords { get; set; }

        public int ParentId { get; set; }

        public int Depth { get; set; }

        public string Path { get; set; }

        public bool HasChildren { get; set; }

        /// <summary>
        /// 拼音
        /// </summary>
        public string PinYin { get; set; }

        /// <summary>
        /// 图片url
        /// </summary>
        public string Url { get; set; }




        public long? LastModifierUserId { get;set; }
        public DateTime? LastModificationTime { get;set; }
        public long? CreatorUserId { get;set; }
        public DateTime CreationTime { get;set; }
    }
}
